package ctgu.yao.cloud.service;

import ctgu.yao.cloud.dto.PageDTO;
import ctgu.yao.cloud.form.SearchForm;
import ctgu.yao.cloud.po.Recruitment;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.context.annotation.Bean;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Y
 * @since 2022-08-16
 */
public interface RecruitmentService extends IService<Recruitment> {
    //发布职位信息
    public void save(Recruitment recruitment, Integer cuid);
    //查看招聘人员自己发布的职位（分页）
    public PageDTO list(Integer page,Integer size,Integer cuid);

    public PageDTO search(SearchForm searchForm);

    public Boolean application(Integer reid,Integer rid);
    public PageDTO list(Integer page,Integer size);

}
